#!/bin/bash

#-- add mpi to PATH if module is not used, on server1
MPI_ROOT=/export/apps/gnu-4.8.5/mpich-4.1rc4
export PATH=$MPI_ROOT/bin:$PATH
export NETCDFROOT=/export/apps/gnu-4.8.5/disable-netcdf-4.4.1

echo "mpicc and mpicxx will invoke:"
mpicc -show
mpicxx -show

echo
echo "start to make ..."
make -f Makefile 
